# -*- coding:utf-8 -*-
# @time    : 2021/10/15 23:31
# @Author  : zhang jin xia
# @Filename: PyCharm

import requests


class Base:

    def send(self, send_data: dict, protocol="restful"):
        if protocol == "restful":
            return requests.request(**send_data)
        elif protocol == "dubbo":
            pass